# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=chownat
pkgver=0.08b
pkgrel=9
groups=('blackarch' 'blackarch-tunnel')
pkgdesc="Allows two peers behind two separate NATs with no port forwarding and no DMZ setup on their routers to directly communicate with each other"
arch=('any')
url='http://samy.pl/chownat/'
license=('custom:unknown')
source=("$pkgname-$pkgver.pl::http://samy.pl/chownat/$pkgname.pl-v$pkgver")
depends=('perl' 'perl-digest-md4')
sha512sums=('03c4ce208eb553a828e87944c6b84f7d004bcd12a17a687f9e4a1244b343bec4d1691ecb5216cede64abc057bda60b2ec095c5aa4258bf201d0ee5c3ef786f51')

package() {
  install -Dm 755 *.pl "$pkgdir/usr/bin/$pkgname"
}

